package cn.qingyun.gis.modules.scenes.service;

import cn.qingyun.gis.modules.scenes.entity.IntentionInfo;
import cn.qingyun.gis.modules.scenes.entity.PoiScenarioProofread;
import cn.qingyun.gis.modules.scenes.request.BusinessContentRequest;
import cn.qingyun.gis.modules.scenes.request.BusinessMarketingRequest;
import cn.qingyun.gis.modules.scenes.request.IntentionInfoRequest;
import cn.qingyun.gis.modules.scenes.response.*;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author guest
 * @since 2024-04-27
 */
public interface IPoiScenarioProofreadService extends IService<PoiScenarioProofread> {
    /**
     * 商机历史记录查询
     * @param request
     * @param table
     * @return
     */
    List<IntentionRecordResponse> selectIntentionInfoList(IntentionInfoRequest request,String table);

    /**
     * 查询随访poi归属人工号
     * @param id
     * @param type
     * @return
     */
    BelongPeopleResponse selectBelongKwPhone(String id, String type);

    /**
     * 网格通--查询商机
     * @param request
     * @return
     */
    List<IntentionToWgtResponse> selectBusinessContent(BusinessContentRequest request);

    BusinessTempResponse selectBusinessContentDetail(BusinessMarketingRequest request);

    /**
     * 营销商机状态
     * @param intentionInfo
     * @param request
     */
    void updateIntentionInfo(String intentionInfo,BusinessMarketingRequest request);
}
